package com.landinfo.service;

import com.alibaba.fastjson.JSONObject;
import com.landinfo.service.dto.ViewDataManageDTO;
import com.landinfo.web.rest.vm.ViewDataManageVM;

import java.util.List;
import java.util.Optional;

/**
 * Service Interface for managing ViewDataManage.
 */
public interface ViewDataManageService {

    ViewDataManageDTO save(ViewDataManageDTO viewDataManageDTO);

    JSONObject queryList(ViewDataManageVM param);

    Optional<ViewDataManageDTO> findOne(String id);

    Optional<ViewDataManageDTO> findByCode(String id);

    Optional<ViewDataManageDTO> findByCodeAndPosition(String code, String position);

    void delete(String id);
}
